<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div class="widgets_area">
    <div class="row-fluid">
        <div class="span12">
            <div class="well grey">
                <div class="well-header">
                    <h5>Stock</h5>
                </div>
                <div class="well-content">
                    <form>
                        <div class="form_row">
                            <label class="field_name">Stock</label>
                            <div class="field">                                                                
                                <input type="text" class="input-large">
                                <button type="submit" class="light_blue btn btn-large"><i class="icon-save"></i> Guardar</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span12">
            <div class="well grey">
                <div class="well-header">
                    <h5>Precios</h5>
                </div>
                <div class="well-content">
                    <form>                        
                        <div class="form_row">
                            <div class="span4"><label class="field_name">Tipo</label></div>
                            <div class="span4"><label class="field_name">Cantidad</label></div>
                            <div class="span4"><label class="field_name">Monto</label></div>
                        </div>
                        <c:if test="${!empty precios}">
                            <c:forEach items="${precios}" var="precio">
                                <div class="form_row">
                                    <div class="span3"><label class="field_name">${precio.tipoprecio.desc_tipo}</label></div>
                                    <div class="span4">
                                        <div class="field">                                                                
                                            <input type="hidden" value="${precio.tipoprecio.id_tipo}" class="span8">
                                            <input type="text" value="${precio.cantidad}" class="span8">
                                        </div>
                                    </div>
                                    <div class="span5">
                                        <div class="field">                                                                
                                            <input type="text" value="${precio.precio}" class="span8">
                                        </div>
                                    </div>
                                </div>
                            </c:forEach>
                        </c:if>
                        <hr/>
                        <div class="form_row">
                            <div class="field">
                                <button type="submit" class="light_blue btn btn-large"><i class="icon-save"></i> Guardar</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

